package cn.edu.lingnan.dao;

import cn.edu.lingnan.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    public Student selectStudentByNameAndPassword(@Param("sname") String sname, @Param("password") String password);//传两个参数的方法
    public int insertStudent(Student student);
    public List<Student> selectStudentAll();
    public int updateStudent(Student student);
    public Student selectStudentBySid(int sid);//这个是写点击修改的时候
}
